package model;

public class Dept {
    private Integer id;
    private String name;
    private Integer type;
    private String remark;

    public Dept(Integer id,String name,Integer type,String remark)
    {
        this.id=id;
        this.name=name;
        this.type=type;
        this.remark=remark;
    }
    public Dept()
    {
    }

    public Integer getId()
    {
        return id;
    }
    public void setId(Integer id)
    {
        this.id = id;
    }
    public String getName()
    {
        return name;
    }
    public void setName(String name)
    {
        this.name = name;
    }
    public Integer getType()
    {
        return type;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }
    public String getRemark()
    {
        return remark;
    }
    public void setRemark(String remark)
    {
        this.remark = remark;
    }


    @Override
    public String toString()
    {
        StringBuffer str = new StringBuffer();
        str.append("Dept [id=").append(this.getId()).append(", name=").append(this.getName()).append(", type=").append(this.getType())
                .append(", remark=").append(this.getRemark()).append("]");
        return str.toString();
    }

}
